package com.platform.comm.util;

import java.util.UUID;

public class StringUtil {
    /**
     * 生成32位UUID，用于初始化实体类ID
     *
     * @return 生成的UUID字符串
     */
    public static String getUUID() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }

    public static boolean isEmpty(String... strArray) {
        boolean result = true;
        for (String str : strArray) {
            result &= str == null || str.trim().length() == 0;
        }
        return result;
    }

}
